package com.web.base.user.message;

import com.blue.core.dict.Result;
import com.blue.validation.group.ListModel;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 登录日志请求内容
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年04月16日
 */
public class UserLoginLogRequest implements Serializable
{
	private static final long serialVersionUID = 1L;

	private Long id;
	private Integer appId;
	@NotNull(groups = { ListModel.class }, message = "用户编号不能为空")
	private Integer userId;
	private String descp;
	private Result result;
	private Date loginTime;
	private String ip;
	private String address;

	public UserLoginLogRequest()
	{
	}

	public Long getId()
	{
		return this.id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Integer getAppId()
	{
		return appId;
	}

	public void setAppId(Integer appId)
	{
		this.appId = appId;
	}

	public Integer getUserId()
	{
		return this.userId;
	}

	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}

	public String getDescp()
	{
		return this.descp;
	}

	public void setDescp(String descp)
	{
		this.descp = descp;
	}

	public Result getResult()
	{
		return this.result;
	}

	public void setResult(Result result)
	{
		this.result = result;
	}

	public Date getLoginTime()
	{
		return this.loginTime;
	}

	public void setLoginTime(Date loginTime)
	{
		this.loginTime = loginTime;
	}

	public String getIp()
	{
		return this.ip;
	}

	public void setIp(String ip)
	{
		this.ip = ip;
	}

	public String getAddress()
	{
		return this.address;
	}

	public void setAddress(String address)
	{
		this.address = address;
	}

}
